package com.srit.recipes.dao;

import com.srit.recipes.common.parent.ParentDao;
import com.srit.recipes.entity.WeekRecipes;
import com.srit.recipes.entity.WeekRecipesDetail;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface WeekRecipesDao extends ParentDao<WeekRecipes, Integer> {


    Page<WeekRecipes> findAllByState(int state, Pageable pageable);
    Page<WeekRecipes> findAllByProcurementState(int state, Pageable pageable);


    Page<WeekRecipes> findAllByStateNot(int state, Pageable pageable);
}
